package com.smart.test.proxy.advice;

/**
 * @auther a123
 * @create 2018-08-15 16:43
 * @desc
 */
public class WaiterDelegate {

    private Waiter waiter;

    public WaiterDelegate() {
    }

    public WaiterDelegate(Waiter waiter) {
        this.waiter = waiter;
    }

    public void service(String clientName){
        waiter.serveTo(clientName);
        waiter.greetTO(clientName);
    }
}
